package com.io.example.demoparent.common;

import com.io.example.demoparent.service.Strategy;

/**
 * @program: demo-project
 * @ClassName Content
 * @description:
 * @author: 宠儿
 * @create: 2024−09-01 15:06
 * @Version 1.0
 **/
public class Content {

    private Strategy strategy;

    public Content(Strategy strategy) {
        this.strategy = strategy;
    }

    public String contentStrategy(String resourceId) {
        return strategy.query(resourceId);
    }


}
